<include file="User@Public:header"/>
<div class="am-g">
	<div class="am-u-md-3">
		<include file="User@Public:left_menu"/>
	</div>
	<div class="am-u-md-9">
		<div class="user-info am-cf">
			<div class="am-fl"><img src="{:avatar($user['uid'],'big')}" class="am-radius"></div>
			<div class="am-fr info-left">
				<h3>{$user['username']}</h3>
				<ul>
					<li><span>昵称：</span>{$nickname}</li>
					<li><span>生日：</span>{$birthday}</li>
					<li><span>签名：</span>{$signature}</li>
				</ul>
			</div>
		</div>

		<div class="am-panel am-panel-default am-cf">
			<div class="am-panel-hd">
				<h3 class="am-panel-title">内容动态</h3>
			</div>
			<div class="am-panel-bd">
				<!-- Contents================================================== -->
				<article:list name="list" child="true">
				<div class="am-cf list-boxes">
					<h2><a href="{:U('Article/detail?id='.$list['id'])}">{$list.title}</a></h2>
					<p>{$list.description}</p>
					<div>
						<div class="am-fl">
							<div class="list-actions">
								<span class="author">{$list.uid|get_username}</span>
								<span>于 {$list.create_time|date='Y-m-d H:i',###}</span> 发表在 
								<span><a href="{:U('Article/lists?category='.get_category_name($list['category_id']))}">{$list.category_id|get_category_title}</a></span> 
								<span>阅读( {$list.view} )</span>
							</div>
						</div>
						<a class="am-btn am-btn-warning am-fr" href="{:U('Article/detail?id='.$list['id'])}">查看全文</a>
					</div>
				</div>
				</article:list>

				<div class="onethink pagination pagination-right pagination-large">
					<article:page cate="$category['id']" listrow="$category['list_row']" />
				</div>
			</div>
		</div>

	</div>
</div>
<include file="User@Public:footer"/>